package com.ulife.category.dao;

import java.sql.SQLException;
import java.util.List;

import com.ulife.category.dao.dataobject.PropertyValueDo;

public interface PropertyValueDao {
	List<PropertyValueDo> queryPropertyValuesByPId(Long pId) throws SQLException;
	
	PropertyValueDo queryPropertyValuesByPvId(Long pvId) throws SQLException;

	Long insertPropertyValue(PropertyValueDo pv) throws SQLException;
	
	int deletePropertyValueByPid(Long pId) throws SQLException ;
	
	int deletePropertyValueByIds(List<Long> pvid) throws SQLException ;
}
